package com.atguigu.exam.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

@Data
@ConfigurationProperties(prefix = "minio")
//属性绑定：将配置文件中的属性自动绑定到Java对象中
//前缀匹配：只绑定以指定前缀(minio)开头的配置项
public class MinioProperties {
    private String endpoint;
    private String accessKey;
    private String secretKey;
    private String bucketName;
}
